package com.yegs.jindie.util;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * @Author lvhaibao
 * @Date 2018/2/11 22:20
 */
public class MainTest {

    public static void main(String[] args) throws FileNotFoundException {
        String str = "D:\\jindie\\8143_CN_INV_2020120399.xls";
        InputStream fileInputStream = new FileInputStream(new File(str));
        FTPTools.upload("ftp-tm.huawei.com", 21,"psi_upload","gDqZb3Ph","/",fileInputStream,"8143_CN_INV_2020120398.xls");
    }
}
